#!/bin/sh

BRIDGE=fwbr1

if [ -n "$1" ];then
        ip link set $1 down
        brctl delif $BRIDGE $1
        exit 0
else
        echo "Error: no interface specified"
        exit 1
fi
